/* JS */ gapi.loaded_1(function(_){var window=this; _.Lh={};_.Mh=function(a){return _.Lh[a||"token"]||null}; _.uy=function(a,b){this.Ad=a;a=b||{};this.pY=Number(a.maxAge)||0;this.xc=a.domain;this.Fk=a.path;this.K_=!!a.secure};_.uy.prototype.read=function(){for(var a=this.Ad+"=",b=document.cookie.split(/;\s*/),c=0;cCy;++Cy); _.Dy="https:"===window.location.protocol;_.Ey=_.Dy||"http:"===window.location.protocol?_.uy:_.xy;_.Fy=function(a){var b=a.substr(1),c="",d=window.location.hostname;if(""!==b){c=parseInt(b,10);if(isNaN(c))return null;b=d.split(".");if(b.length>=8);b[c++]=e}return b}; var gh;gh={};_.hh=null;_.ih=_.vc||_.wc&&!_.eh||_.rc||!_.eh&&!_.sc&&"function"==typeof _.A.atob;_.kh=function(a,b){void 0===b&&(b=0);_.jh();b=gh[b];for(var c=[],d=0;d>2;e=(e&3)<<4|g>>4;g=(g&15)<<2|l>>6;l&=63;k||(l=64,f||(g=64));c.push(b[m],b[e],b[g]||"",b[l]||"")}return c.join("")}; _.jh=function(){if(!_.hh){_.hh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));gh[c]=d;for(var e=0;ek?"":0==k?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(_.lb()+1E3*k)).toUTCString())+(d?";secure":"")+(null!=e?";samesite="+e:"")}; _.h.get=function(a,b){for(var c=a+"=",d=(this.rb.cookie||"").split(";"),e=0,f;e=a.keyCode)a.keyCode=-1}catch(b){}}; var Ei;_.Ci="closure_listenable_"+(1E6*Math.random()|0);_.Di=function(a){return!(!a||!a[_.Ci])};Ei=0; var Fi=function(a,b,c,d,e){this.listener=a;this.ww=null;this.src=b;this.type=c;this.capture=!!d;this.Ye=e;this.key=++Ei;this.ro=this.Dt=!1},Gi=function(a){a.ro=!0;a.listener=null;a.ww=null;a.src=null;a.Ye=null}; _.Hi=function(a){this.src=a;this.yd={};this.Es=0};_.Hi.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.yd[f];a||(a=this.yd[f]=[],this.Es++);var g=Ii(a,b,d,e);-1c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.currentTarget;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;!b.wm&&0<=e;e--){b.currentTarget=c[e];var f=Xi(c[e],a,!0,b);d=d&&f}for(e=0;!b.wm&&e>>0);_.Pi=function(a){if("function"===typeof a)return a;a[Yi]||(a[Yi]=function(b){return a.handleEvent(b)});return a[Yi]};_.ni(function(a){Ui=a(Ui)}); /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ _.Zi=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};_.$i=function(a){for(var b in a)return!1;return!0};_.cj=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;fyu(this.Yb[a],b)&&this.Yb[a].push(b)}; Hu.prototype.removeEventListener=function(a,b){if(!(0<=yu(this.TE,a)))throw"Unrecognized event type: "+a;Au(b)&&this.Yb[a]&&this.Yb[a].length&&(b=yu(this.Yb[a],b),0<=b&&this.Yb[a].splice(b,1))};Hu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=yu(this.TE,b)))throw"Failed to dispatch unrecognized event type: "+b;if(this.Yb[b]&&this.Yb[b].length)for(var c=0,d=this.Yb[b].length;cr;r+=4)u[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=u[r-3]^u[r-8]^u[r-14]^u[r-16],u[r]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],t=e[2],w=e[3],y=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var D=w^v&(t^w);var z=1518500249}else D= v^t^w,z=1859775393;else 60>r?(D=v&t|w&(v|t),z=2400959708):(D=v^t^w,z=3395469782);D=((p<<5|p>>>27)&4294967295)+D+y+z+u[r]&4294967295;y=w;w=t;t=(v<<30|v>>>2)&4294967295;v=p;p=D}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+t&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+y&4294967295}function c(p,u){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],v=0,t=p.length;vm?c(k,56-m):c(k,64-(m-56));for(var r=63;56<=r;r--)f[r]=u&255,u>>>=8;b(f);for(r=u=0;5>r;r++)for(var v=24;0<=v;v-=8)p[u++]=e[r]>>v&255;return p}for(var e=[],f=[],g=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Sg:function(){for(var p=d(),u="",r=0;ryu(m.vk[k],l)&&m.vk[k].push(l));f()}else e.Un={error:"Not a valid origin for the client: "+e.Cd+" has not been whitelisted for client ID "+e.Vb+ ". Please go to https://console.developers.google.com/ and whitelist this origin for your project's client ID."},e.bm=!0,e.dw(e.Un)}):(pv(e.Kb),f())})};zu(_.tv,Hu);_.tv.prototype.setOptions=function(){};_.tv.prototype.oM=function(){};_.tv.prototype.dw=function(){};_.tv.prototype.Il=function(){return this.Un};uv=function(a,b,c){return function(){b.apply(a,c)}};_.vv=function(a,b,c){if(a.xK)b.apply(a,c);else{if(a.bm)throw a.Un;a.Pp.push(uv(a,b,c))}};_.tv.prototype.dH=_.ja(32);_.tv.prototype.Hp=_.ja(30); _.xv=function(a,b){_.tv.call(this,a,b);this.WL=new Pu;this.fj=this.rm=null;wv(this)};zu(_.xv,_.tv);_.xv.prototype.setOptions=function(){}; var yv=function(a,b){a.ie={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.xc};b.crossSubDomains&&(a.ie.policy=b.policy)},zv=function(a,b){if(!b.authParameters)throw Error("Z");if(!b.authParameters.scope)throw Error("$");if(!b.authParameters.response_type)throw Error("aa");a.xp=b.authParameters;a.xp.redirect_uri||(a.xp.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.fi=_.Bu(b.rpcAuthParameters||a.xp);if(!a.fi.scope)throw Error("ba");if(!a.fi.response_type)throw Error("ca"); a:{var c=a.fi.response_type.split(" ");for(var d=0,e=c.length;db;b++)a[b]=Math.floor(256*Math.random())}return _.kh(a,3).substring(0,64)};Jv=function(a,b,c){if(!a.je)throw Error("ea");b?_.kv(a.Zc,a.ie,!0,void 0,c):_.kv(a.Zc,a.ie,!0,a.ee,c)};Kv=function(a){if(!a.je)throw Error("ea");return a.YB}; _.Fv.prototype.TK=_.Uc(38,function(a,b){var c=this.Zc,d=this.Vb,e=this.ie,f=_.Bu(this.fi);delete f.response_type;_.hv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});_.Dv.prototype.DM=_.Uc(37,function(a){Kv(this)&&Kv(this).access_token&&(this.Zc.Mr(this.Vb,Kv(this).access_token,a),Jv(this,!0))});_.Dv.prototype.vI=_.Uc(36,function(){var a=this;this.mq(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.Cv.lp,idpId:a.Kb}):a.Uh(!0):a.dispatchEvent({type:_.Cv.HF,idpId:a.Kb})})}); _.Dv.prototype.uq=_.Uc(35,function(){var a=this;return function(b){b&&b.authResult&&b.authResult.login_hint&&a.gx(b.authResult.login_hint,a.Tg||b.authResult.login_hint!=a.ee,!0)}}); _.Fv.prototype.uq=_.Uc(34,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.mq(function(d){_.kv(b.Zc,b.ie,d&&d.disabled,c.authResult.login_hint,function(){_.Gv(b,c.authResult.login_hint,a)})}):a(c&&c.authResult&&c.authResult.error?c.authResult:c&&c.authResult&&!c.authResult.login_hint?{error:"wrong_response_type"}:{error:"unknown_error"})}});_.xv.prototype.rL=_.Uc(33,function(){this.Vb&&_.hv(this.Zc,"startPolling",{clientId:this.Vb,origin:this.Cd,id:this.aj},void 0)}); _.ev.prototype.Mr=_.Uc(29,function(a,b,c){_.hv(this,"revoke",{clientId:a,token:b},c)});_.Dv.prototype.Mr=_.Uc(28,function(a){_.vv(this,this.DM,[a])});Lv=function(){var a=navigator.userAgent,b;if(b=!!a&&-1!=a.indexOf("CriOS"))b=-1,(a=a.match(/CriOS\/(\d+)/))&&a[1]&&(b=parseInt(a[1],10)||-1),b=48>b;return b}; Mv=function(){var a=navigator.userAgent.toLowerCase();if(!(-1a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("android")))return!1;var b=/version\/(\d+)\.(\d+)[\.0-9]*/.exec(navigator.userAgent.toLowerCase());if(!b||3>b.length)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return 12k.indexOf("?")?"?":"&");c=[];for(var m in a)if(a.hasOwnProperty(m)){e=a[m];if(null===e||void 0===e)e="";c.push(encodeURIComponent(m)+"="+encodeURIComponent(e))}return b+c.join("&")}; Ov=function(a,b,c,d){if(!a.Vb)throw Error("fa");a.aj=c||a.fS||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Cd.split("//");c=b.extraQueryParams;var f=e[0],g=f.indexOf(":");0e)b[d++]=String.fromCharCode(e);else if(191e){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(239e){f=a[c++];var g=a[c++],k=a[c++];e=((e&7)<<18|(f&63)<<12|(g&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],g=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|g&63)}return b.join("")}; _.Vv=function(a,b){function c(l){for(;d>4);64!=g&&(b(f<<4&240|g>>2),64!=k&&b(g<<6&192|k))}};Wv=function(a){var b=[];_.Vv(a,function(c){b.push(c)});return b};_.Xv=function(a,b){_.Lh[b||"token"]=a};_.Yv=function(a){delete _.Lh[a||"token"]}; _.Gu={parse:function(a){a=_.yf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.zf(a)}}; _.Fv.prototype.aA=function(a,b){_.vv(this,this.zT,[a,b])};_.Fv.prototype.zT=function(a,b){this.Zc.aA(this.Vb,a,this.fi,this.ie,b)}; _.ev.prototype.aA=function(a,b,c,d,e){c=_.Bu(c);_.hv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)}; var Zv,$v=["client_id","cookie_policy","scope"],aw="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint ux_mode redirect_uri state prompt oidc_spec_compliant nonce enable_serial_consent include_granted_scopes response_type session_selection gsiwebsdk".split(" "),bw=["authuser","after_redirect","access_type","hl"],cw=["login_hint","prompt"],dw={clientid:"client_id",cookiepolicy:"cookie_policy"},ew=["approval_prompt","authuser","login_hint", "prompt","hd"],fw=["login_hint","g-oauth-window","status"],gw=Math.min(_.S("oauth-flow/authWindowWidth",599),screen.width-20),hw=Math.min(_.S("oauth-flow/authWindowHeight",600),screen.height-30); var iw=function(a){_.Vc.call(this,a)};_.ii(iw,_.Vc);iw.prototype.name="gapi.auth2.ExternallyVisibleError"; var jw=function(){};jw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var kw=function(){};kw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;cb.indexOf(c)&&delete a[c];return a}; Uw=function(a,b){if(!a)throw new iw("Empty initial options.");for(var c=0;c<$v.length;++c)if(!(b&&"scope"==$v[c]||a[$v[c]]))throw new iw("Missing required parameter '"+$v[c]+"'");_.Ow(a.cookie_policy)}; Ww=function(a){var b={authParameters:{redirect_uri:void 0,response_type:"token id_token",scope:a.scope,"openid.realm":a.openid_realm},clientId:a.client_id,crossSubDomains:!0,domain:Nw(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:Zv};_.Vw(b,a);_.ob(cw,function(c){a[c]&&(b.authParameters[c]=a[c])});"boolean"==typeof a.enable_serial_consent&&(b.enableSerialConsent=a.enable_serial_consent);return b};_.Vw=function(){}; ax=function(a){var b=a.client_id,c=a.cookie_policy,d=a.scope,e=a.openid_realm,f=a.hosted_domain,g=a.oidc_spec_compliant,k=a.nonce,l=Xw(a),m={authParameters:{response_type:l,scope:d,"openid.realm":e},rpcAuthParameters:{response_type:l,scope:d,"openid.realm":e},clientId:b,crossSubDomains:!0,domain:Nw(c),idpId:Zv};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);g&&(m.rpcAuthParameters.spec_compliant=g,k=k||_.Iv());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache= !0);_.ob(cw.concat(bw),function(n){a[n]&&(m.authParameters[n]=a[n])});void 0!==a.authuser&&null!==a.authuser&&(m.authParameters.authuser=a.authuser);"boolean"==typeof a.include_granted_scopes&&(b=new Yw(a.response_type||"token"),Zw(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),$w(b)&&(m.rpcAuthParameters.include_granted_scopes=a.include_granted_scopes,!1===a.include_granted_scopes&&(m.forceTokenRefresh=!0,m.skipTokenCache=!0)));"boolean"==typeof a.enable_serial_consent&&(m.enableSerialConsent= a.enable_serial_consent);return m};Xw=function(a){a=new Yw(a.response_type||"token");var b=[];$w(a)&&b.push("token");bx(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")};cx=["permission","id_token"];dx=/(^|[^_])token/;Yw=function(a){this.wo=[];this.HB(a)}; Yw.prototype.HB=function(a){a?((0<=a.indexOf("permission")||a.match(dx))&&this.wo.push("permission"),0<=a.indexOf("id_token")&&this.wo.push("id_token"),0<=a.indexOf("code")&&this.wo.push("code")):this.wo=cx};var Zw=function(a){return bx(a,"code")},$w=function(a){return bx(a,"permission")};Yw.prototype.toString=function(){return this.wo.join(" ")};var bx=function(a,b){var c=!1;_.ob(a.wo,function(d){d==b&&(c=!0)});return c}; var Gw,ex,gx,ix,jx,Mw;Gw=null;_.fx=function(){return Gw?ex():null};ex=function(){return new Lw(gx.prototype,Gw,["currentUser","isSignedIn"])};gx=function(a){delete a.include_granted_scopes;this.Ba=Ww(a);this.NS=a.cookie_policy;this.MW=!!a.scope;(this.qv=!1!==a.fetch_basic_profile)&&(this.Ba.authParameters.scope=hx(this,"openid profile email"));this.Sq=a.hosted_domain;this.d2=a.ux_mode||"popup";this.MZ=a.redirect_uri||null;ix(this)}; ix=function(a){a.currentUser=new vw(new Fw(null));a.isSignedIn=new vw(!1);a.Qd=new _.Dv(a.Ba);a.Xn=null;a.xv=null;a.UX=new _.Gk(function(b,c){this.Xn=b;this.xv=c},a);a.gw={};a.fr=!0;jx(a);a.Qd.start()}; jx=function(a){a.Qd.addEventListener("error",function(b){a.fr&&a.Xn&&(a.fr=!1,a.xv({error:b.error,details:b.details}),a.Xn=null,a.xv=null)});a.Qd.addEventListener("authResult",function(b){b&&b.authResult&&a.Te(b);a.Qd.uq()(b)});a.Qd.addEventListener("tokenReady",function(b){var c=new Fw(b.response);if(a.Sq&&a.Sq!=c.yA())a.Te({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.yA(),expectedDomain:a.Sq});else{a.currentUser.get().update(c); var d=a.currentUser;d.Yb.notify(d.le);a.isSignedIn.set(!0);c=c.iq();(d=_.Ow(a.NS))&&c&&_.Dh.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.Fe?"S":"H",d.Ah].join(""),c,{domain:d.domain,secure:d.isSecure});_.Xv(b.response);a.Te(b)}});a.Qd.addEventListener("noSessionBound",function(b){a.fr&&b.autoOpenAuthUrl?(a.fr=!1,nw(a.Qd).select(function(c){if(c&&c.login_hint){var d=a.Qd;_.vv(d,d.gx,[c.login_hint,!0])}else a.currentUser.set(new Fw(null)),a.isSignedIn.set(!1),_.Yv(),a.Te(b)})):(a.currentUser.set(new Fw(null)), a.isSignedIn.set(!1),_.Yv(),a.Te(b))});a.Qd.addEventListener("tokenFailed",function(b){a.Te(b)});a.Qd.addEventListener("userLoggedOut",function(b){a.currentUser.get().wj();var c=a.currentUser;c.Yb.notify(c.le);a.isSignedIn.set(!1);_.Yv();a.Te(b)})};Mw=function(a,b,c,d){return a.UX.then(function(e){if(b)return b(e.vV)},c,d)};gx.prototype.Te=function(a){if(a){this.fr=!1;var b=a.type||"";if(this.gw[b])this.gw[b](a);this.Xn&&(this.Xn({vV:this}),this.xv=this.Xn=null)}}; var kx=function(a,b){_.Db(b,function(c,d){a.gw[d]=function(e){a.gw={};c(e)}})},Jw=function(a,b,c,d){d=_.lk(d);a.Sq&&(d.hd=a.Sq);var e=d.ux_mode||a.d2;delete d.ux_mode;delete d.app_package_name;var f={sessionMeta:{extraQueryParams:d},responseType:"permission id_token"};"redirect"==e?(d.redirect_uri||(d.redirect_uri=a.MZ||Ew()+window.location.pathname),lx(a,f)):(delete d.redirect_uri,mx(a,f),kx(a,{authResult:function(g){g.authResult&&g.authResult.error?c(g.authResult):kx(a,{tokenReady:function(){b(a.currentUser.get())}, tokenFailed:c})}}))};gx.prototype.vj=function(a){return new _.Gk(function(b,c){var d=new yw(a);this.qB=d.Gq()?!0:!1;this.qv?(d.Ba.fetch_basic_profile=!0,zw(d,"email profile openid")):d.Ba.fetch_basic_profile=!1;var e=hx(this,d.Gq());d.wN(e);Jw(this,b,c,d.get())},this)}; gx.prototype.Iq=function(a){var b=a||{};this.qB=!!b.scope;a=hx(this,b.scope);if(""==a)return _.Lk({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.ob(ew,function(d){null!=b[d]&&(c[d]=b[d])});c.hasOwnProperty("prompt")||c.hasOwnProperty("approval_prompt")||(c.prompt="consent");return"postmessage"==b.redirect_uri||void 0==b.redirect_uri?nx(this,c):ox(this,c,b.redirect_uri)}; var ox=function(a,b,c){b.redirect_uri=c;lx(a,{sessionMeta:{extraQueryParams:b},responseType:"code id_token"});return _.Kk({message:"Redirecting to IDP."})},nx=function(a,b){b.origin=Ew();delete b.redirect_uri;mx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.Gk(function(c,d){kx(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},mx=function(a,b){Dw(b,["sessionMeta","extraQueryParams", "gsiwebsdk"],"2");Rv(a.Qd,Aw(),b)},lx=function(a,b){Dw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign(Pv(a.Qd,b.sessionMeta,b.responseType))};gx.prototype.wj=function(a){var b=a||!1;return new _.Gk(function(c){Jv(this.Qd,b,function(){c()})},this)};gx.prototype.SI=function(){return this.Ba.authParameters.scope};var hx=function(a,b){a=a.SI();b=Hv(b?b.split(" "):[],a?a.split(" "):[]);_.Ke(b);return b.join(" ")}; gx.prototype.eD=function(){var a=this;return new _.Gk(function(b,c){kx(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});Sv(a.Qd)})};gx.prototype.cS=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.Oi(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.vj(f).then(function(g){c&&c(g)},function(g){d&&d(g)})})}else d&&d({error:"Could not attach click handler to the element. Reason: element not found."})}; gx.prototype.disconnect=function(){return new _.Gk(function(a){this.Qd.Mr(function(){a()})},this)}; var px;_.Gk.prototype["catch"]=_.Gk.prototype.ys;px=null;_.qx=function(a){a=Tw(a);if(Gw){if(_.kk(a,px||{}))return ex();throw new iw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}Uw(a,!1!==a.fetch_basic_profile);Cw();px=a;Gw=new gx(a);_.ze.ga=1;return ex()}; var sx,ux,rx,wx,vx,xx;_.tx=function(a,b){Cw();a=Tw(a);Uw(a);var c=ax(a),d=new _.Fv(c);"none"==a.prompt?rx(d,a,function(e){e.status=e.error?{signed_in:!1,method:null,google_logged_in:!1}:{signed_in:!0,method:"AUTO",google_logged_in:!0};b(e)}):sx(d,a,function(e){if(e.error)e.status={signed_in:!1,method:null,google_logged_in:!1};else{var f=e.access_token||e.id_token;e.status={signed_in:!!f,method:"PROMPT",google_logged_in:!!f}}e["g-oauth-window"]=d.WL.ih;b(e)})}; sx=function(a,b,c){var d=new Yw(b.response_type);c=ux(a,d,c);var e={responseType:d.toString()};Dw(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");Zw(d)&&Dw(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&Dw(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&Dw(e,["sessionMeta","extraQueryParams","state"],b.state);b=Aw();a.bm?c({authResult:{error:"idpiframe_initialization_failed",details:a.Il().error}}):(a.kl= c,Rv(a,b,e))};ux=function(a,b,c){if($w(b)){var d=vx(c);return function(e){e&&e.authResult&&!e.authResult.error?a.uq(function(f){f&&!f.error?(f=_.lk(f),Zw(b)&&(f.code=e.authResult.code),d(f)):d(f?f:{error:"unknown_error"})})(e):d(e&&e.authResult?e.authResult:{error:"unknown_error"})}}return function(e){e&&e.authResult&&!e.authResult.error?c(_.lk(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}}; rx=function(a,b,c){if(Zw(new Yw(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=vx(c);b.login_hint?a.aA(b.login_hint,function(e){e?wx(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?pw(a,b.authuser).select(function(e){e&&e.login_hint?wx(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.mq(function(e){e&&e.hint?wx(a,b,e.hint,d):e&&e.disabled? d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?ow(a):nw(a)).select(function(f){f&&f.login_hint?wx(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};wx=function(a,b,c,d){b=new Yw(b.response_type);var e=0,f={},g=function(k){!k||k.error?d(k):(e--,_.Fb(f,k),0==e&&d(f))};($w(b)||bx(b,"id_token"))&&e++;Zw(b)&&e++;($w(b)||bx(b,"id_token"))&&_.Gv(a,c,g);Zw(b)&&Tv(a,c,g)}; vx=function(a){return function(b){if(!b||b.error)_.Yv(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.lk(b);xx(c);delete c.id_token;delete c.code;_.Xv(c)}a(b)}}};xx=function(a){_.ob(fw,function(b){delete a[b]})}; _.C("gapi.auth2.init",_.qx);_.C("gapi.auth2.authorize",function(a,b){if(null!=Gw)throw new iw("gapi.auth2.authorize cannot be called after GoogleAuth has been initialized (i.e. with a call to gapi.auth2.init, or gapi.client.init when given a 'clientId' and a 'scope' parameters).");_.tx(a,function(c){xx(c);b(c)})});_.C("gapi.auth2._gt",function(){return _.Mh()});_.C("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.wu="0"!=a&&!!a});_.C("gapi.auth2.getAuthInstance",_.fx); _.C("gapi.auth2.BasicProfile",Hw);_.C("gapi.auth2.BasicProfile.prototype.getId",Hw.prototype.ma);_.C("gapi.auth2.BasicProfile.prototype.getName",Hw.prototype.getName);_.C("gapi.auth2.BasicProfile.prototype.getGivenName",Hw.prototype.vU);_.C("gapi.auth2.BasicProfile.prototype.getFamilyName",Hw.prototype.qU);_.C("gapi.auth2.BasicProfile.prototype.getImageUrl",Hw.prototype.GU);_.C("gapi.auth2.BasicProfile.prototype.getEmail",Hw.prototype.Cu);_.C("gapi.auth2.GoogleAuth",gx); _.C("gapi.auth2.GoogleAuth.prototype.attachClickHandler",gx.prototype.cS);_.C("gapi.auth2.GoogleAuth.prototype.disconnect",gx.prototype.disconnect);_.C("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",gx.prototype.Iq);_.C("gapi.auth2.GoogleAuth.prototype.signIn",gx.prototype.vj);_.C("gapi.auth2.GoogleAuth.prototype.signOut",gx.prototype.wj);_.C("gapi.auth2.GoogleAuth.prototype.getInitialScopes",gx.prototype.SI);_.C("gapi.auth2.GoogleUser",Fw);_.C("gapi.auth2.GoogleUser.prototype.grant",Fw.prototype.xV); _.C("gapi.auth2.GoogleUser.prototype.getId",Fw.prototype.ma);_.C("gapi.auth2.GoogleUser.prototype.isSignedIn",Fw.prototype.If);_.C("gapi.auth2.GoogleUser.prototype.getAuthResponse",Fw.prototype.ek);_.C("gapi.auth2.GoogleUser.prototype.getBasicProfile",Fw.prototype.WT);_.C("gapi.auth2.GoogleUser.prototype.getGrantedScopes",Fw.prototype.xU);_.C("gapi.auth2.GoogleUser.prototype.getHostedDomain",Fw.prototype.yA);_.C("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",Fw.prototype.Iq); _.C("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",Fw.prototype.$u);_.C("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",Fw.prototype.eD);_.C("gapi.auth2.LiveValue",vw);_.C("gapi.auth2.LiveValue.prototype.listen",vw.prototype.V);_.C("gapi.auth2.LiveValue.prototype.get",vw.prototype.get);_.C("gapi.auth2.SigninOptionsBuilder",yw);_.C("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",yw.prototype.TT);_.C("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",yw.prototype.e0); _.C("gapi.auth2.SigninOptionsBuilder.prototype.getScope",yw.prototype.Gq);_.C("gapi.auth2.SigninOptionsBuilder.prototype.setScope",yw.prototype.wN);_.C("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",yw.prototype.bV);_.C("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",yw.prototype.J0);_.C("gapi.auth2.SigninOptionsBuilder.prototype.get",yw.prototype.get); _.Vw=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||_.Iv());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)}; _.Eh=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(p){for(var u=g,r=0;64>r;r+=4)u[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=u[r-3]^u[r-8]^u[r-14]^u[r-16],u[r]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],t=e[2],w=e[3],y=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var D=w^v&(t^w);var z=1518500249}else D=v^t^w,z=1859775393;else 60>r?(D=v&t|w&(v|t),z=2400959708):(D=v^t^w,z=3395469782);D=((p<<5|p>>>27)&4294967295)+ D+y+z+u[r]&4294967295;y=w;w=t;t=(v<<30|v>>>2)&4294967295;v=p;p=D}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+t&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+y&4294967295}function c(p,u){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],v=0,t=p.length;vm?c(k,56-m):c(k,64-(m-56));for(var r=63;56<=r;r--)f[r]=u&255,u>>>=8;b(f);for(r=u=0;5>r;r++)for(var v=24;0<=v;v-=8)p[u++]=e[r]>>v&255;return p}for(var e=[],f=[],g=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Sg:function(){for(var p=d(),u="",r=0;r");var g=_.Oe.createElement(d.join(""));g&&(!c||g.tagName==c.tagName&&g.namespaceURI==c.namespaceURI)&&(c=g)}catch(l){}d=c;b=b||{};for(var k in b)b.hasOwnProperty(k)&&(d[k]=b[k]);return c};_.Oe.getBodyElement=function(){if(document.body)return document.body;try{var b=document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml", "body");if(b&&1==b.length)return b[0]}catch(c){}return document.documentElement||document};_.Oe.Xaa=function(b){return a(b)}})(); _.Oe=_.Oe||{};_.Oe.attachBrowserEvent=function(a,b,c,d){"undefined"!=typeof a.addEventListener?a.addEventListener(b,c,d):"undefined"!=typeof a.attachEvent?a.attachEvent("on"+b,c):_.Pe("cannot attachBrowserEvent: "+b)};_.Oe.TZ=function(a){var b=window;b.removeEventListener?b.removeEventListener("mousemove",a,!1):b.detachEvent?b.detachEvent("onmousemove",a):_.Pe("cannot removeBrowserEvent: mousemove")}; _.Oe=_.Oe||{};(function(){function a(d){b=d["core.util"]||{}}var b={},c={};_.Se&&_.Se.register("core.util",null,a);_.Oe.getFeatureParameters=function(d){return"undefined"===typeof b[d]?null:b[d]};_.Oe.hasFeature=function(d){return"undefined"!==typeof b[d]};_.Oe.dba=function(){return c}})(); var ug; ug=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(p){for(var u=g,r=0;64>r;r+=4)u[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=u[r-3]^u[r-8]^u[r-14]^u[r-16],u[r]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],t=e[2],w=e[3],y=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var D=w^v&(t^w);var z=1518500249}else D=v^t^w,z=1859775393;else 60>r?(D=v&t|w&(v|t),z=2400959708):(D=v^t^w,z=3395469782);D=((p<<5|p>>>27)&4294967295)+D+ y+z+u[r]&4294967295;y=w;w=t;t=(v<<30|v>>>2)&4294967295;v=p;p=D}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+t&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+y&4294967295}function c(p,u){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],v=0,t=p.length;vm?c(k,56-m):c(k,64-(m-56));for(var r=63;56<=r;r--)f[r]=u&255,u>>>=8;b(f);for(r=u=0;5>r;r++)for(var v=24;0<=v;v-=8)p[u++]=e[r]>>v&255;return p}for(var e=[],f=[],g=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Sg:function(){for(var p=d(),u="",r=0;r=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.Hq=function(a,b,c,d){return Array.prototype.splice.apply(a,_.Gq(arguments,1))};_.Iq=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.Jq=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};_.h=_.Jq.prototype;_.h.clone=function(){return new _.Jq(this.x,this.y)}; _.h.equals=function(a){return a instanceof _.Jq&&_.Iq(this,a)};_.h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};_.h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};_.h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};_.h.translate=function(a,b){a instanceof _.Jq?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this}; _.h.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};_.Kq=function(a,b){this.width=a;this.height=b};_.h=_.Kq.prototype;_.h.clone=function(){return new _.Kq(this.width,this.height)};_.h.aspectRatio=function(){return this.width/this.height};_.h.isEmpty=function(){return!(this.width*this.height)};_.h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; _.h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};_.h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};_.h.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};_.Lq=function(a){return"CSS1Compat"==a.compatMode};_.Mq=function(a){a=a.document;a=_.Lq(a)?a.documentElement:a.body;return new _.Kq(a.clientWidth,a.clientHeight)};_.Nq=function(a){return _.Mq(a||window)}; _.Oq=function(a){return a.scrollingElement?a.scrollingElement:!_.wc&&_.Lq(a)?a.documentElement:a.body||a.documentElement};_.Pq=function(a){var b=_.Oq(a);a=a.parentWindow||a.defaultView;return _.sc&&_.Pc("10")&&a.pageYOffset!=b.scrollTop?new _.Jq(b.scrollLeft,b.scrollTop):new _.Jq(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};_.Qq=function(a,b,c,d){return _.Rd(a.rb,b,c,d)};_.Rq=function(a){a.IB=void 0;a.lb=function(){return a.IB?a.IB:a.IB=new a}}; Sq=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e":(c=_.hr(c),l+=">"+_.fc(c).toString()+"",d=c.Hh());(b=b&&b.dir)&&(d=/^(ltr|rtl|auto)$/i.test(b)?0:null);return _.gc(l,d)};_.jr=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}; kr=function(a){return a.replace(/(^|[\s]+)([a-z])/g,function(b,c,d){return c+d.toUpperCase()})};_.lr=function(a,b,c){return _.Xd(document,arguments)};_.mr=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.nr=function(a){var b;if(_.Id&&!(_.sc&&_.Pc("9")&&!_.Pc("10")&&_.A.SVGElement&&a instanceof _.A.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.ge(b)?b:null};or={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1};pr={IMG:" ",BR:"\n"}; qr=function(a,b,c){if(!(a.nodeName in or))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in pr)b.push(pr[a.nodeName]);else for(a=a.firstChild;a;)qr(a,b,c),a=a.nextSibling}; _.rr=function(a){if(_.Hd&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];qr(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");_.Hd||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a};_.sr=function(a){var b=[];qr(a,b,!1);return b.join("")}; _.tr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.h=_.tr.prototype;_.h.Rc=function(){return this.right-this.left};_.h.getHeight=function(){return this.bottom-this.top};_.h.clone=function(){return new _.tr(this.top,this.right,this.bottom,this.left)};_.h.contains=function(a){return this&&a?a instanceof _.tr?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1}; _.h.expand=function(a,b,c,d){_.bb(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};_.h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; _.h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};_.h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this}; _.h.translate=function(a,b){a instanceof _.Jq?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};_.h.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this}; var wr,Cr,Ar,Fr,Rr,Sr;_.vr=function(a,b,c){if("string"===typeof b)(b=_.ur(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.ur(c,d);f&&(c.style[f]=e)}};wr={};_.ur=function(a,b){var c=wr[b];if(!c){var d=_.jr(b);c=d;void 0===a.style[d]&&(d=(_.wc?"Webkit":_.vc?"Moz":_.sc?"ms":_.rc?"O":null)+kr(d),void 0!==a.style[d]&&(c=d));wr[b]=c}return c}; _.xr=function(a,b){var c=_.Od(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.yr=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.zr=function(a,b){return _.xr(a,b)||_.yr(a,b)||a.style&&a.style[b]};_.Br=function(a,b,c){if(b instanceof _.Jq){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Ar(d,!1);a.style.top=Ar(b,!1)}; Cr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}; _.Gr=function(a,b){b=b||_.Oq(document);var c=b||_.Oq(document);var d=_.Dr(a),e=_.Dr(c),f=_.Er(c);if(c==_.Oq(document)){var g=d.x-c.scrollLeft;d=d.y-c.scrollTop;_.sc&&!_.Rc(10)&&(g+=f.left,d+=f.top)}else g=d.x-e.x-f.left,d=d.y-e.y-f.top;a=Fr(a);f=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(g,Math.max(g-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-f,0));c=new _.Jq(e,k);b.scrollLeft=c.x;b.scrollTop=c.y}; _.Dr=function(a){var b=_.Od(a),c=new _.Jq(0,0);var d=b?_.Od(b):document;d=!_.sc||_.Rc(9)||_.Lq(_.Pd(d).rb)?d.documentElement:d.body;if(a==d)return c;a=Cr(a);b=_.Pq(_.Pd(b).rb);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.Ir=function(a,b){var c=new _.Jq(0,0),d=_.Ud(_.Od(a));if(!_.pc(d,"parent"))return c;do{var e=d==b?_.Dr(a):_.Hr(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.Hr=function(a){a=Cr(a);return new _.Jq(a.left,a.top)}; _.Jr=function(a,b,c){if(b instanceof _.Kq)c=b.height,b=b.width;else if(void 0==c)throw Error("F");a.style.width=Ar(b,!0);a.style.height=Ar(c,!0)};Ar=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};_.Kr=function(a){var b=Fr;if("none"!=_.zr(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a}; Fr=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.wc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Cr(a),new _.Kq(a.right-a.left,a.bottom-a.top)):new _.Kq(b,c)};_.Lr=function(a,b){a.style.display=b?"":"none"}; _.Nr=function(a){var b=_.Pd(void 0),c=b.ub();if(_.sc&&c.createStyleSheet)return b=c.createStyleSheet(),_.Mr(b,a),b;c=_.Qq(b,"HEAD")[0];if(!c){var d=_.Qq(b,"BODY")[0];c=b.ta("HEAD");d.parentNode.insertBefore(c,d)}d=b.ta("STYLE");var e=_.ad();e&&d.setAttribute("nonce",e);_.Mr(d,a);b.appendChild(c,d);return d};_.Mr=function(a,b){b=_.cr(b);_.sc&&void 0!==a.cssText?a.cssText=b:_.A.trustedTypes?_.ie(a,b):a.innerHTML=b};_.Or=function(a){return"rtl"==_.zr(a,"direction")}; _.Pr=_.vc?"MozUserSelect":_.wc||_.tc?"WebkitUserSelect":null;_.Qr=function(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;b=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return+b};Rr={thin:2,medium:4,thick:6};Sr=function(a,b){if("none"==_.yr(a,b+"Style"))return 0;b=_.yr(a,b+"Width");return b in Rr?Rr[b]:_.Qr(a,b)}; _.Er=function(a){if(_.sc&&!_.Rc(9)){var b=Sr(a,"borderLeft"),c=Sr(a,"borderRight"),d=Sr(a,"borderTop");a=Sr(a,"borderBottom");return new _.tr(d,c,a,b)}b=_.xr(a,"borderLeftWidth");c=_.xr(a,"borderRightWidth");d=_.xr(a,"borderTopWidth");a=_.xr(a,"borderBottomWidth");return new _.tr(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}; /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ _.Kx=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.R)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.R)(a.handleEvent,a);else throw Error("na");return 2147483647b?e>f?e:f:ea.Ah)&&(a=c,b=d)});return{lS:a,authuser:b}};gz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];uz=function(a){a=a.toUpperCase();for(var b=0,c=gz.length;ba.expires_at?null:a};_.zz=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.Xv(c,d):_.Yv(d)}; Az=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.sg(a));var b=window.location.hostname,c=b,d=_.Dy;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Df("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(-1!==c.indexOf(":"))c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.Df("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,Fe:d,Ah:b}}; Bz=function(a){var b=Az(a);if(!b)return new _.xy("G_USERSTATE_");a=["G_USERSTATE_",_.Dy&&b.Fe?"S":"H",b.Ah].join("");var c=_.Ky[a];c||(c={$K:63072E3},_.qe(_.Ny(b),c),c=new _.uy(a,c),_.Ky[a]=c,b=c.read(),"undefined"!==typeof b&&null!==b&&(document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",c.write(b)));return c};Cz=function(a){var b=Bz(a).read();a=_.oe();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a}; Dz=function(a,b,c){var d=Cz(b),e=d[a];d[a]="0";var f=[];_.Vl(d,function(k,l){f.push(l+"="+k)});var g=f.join(":");b=Bz(b);g?b.write(g):b.clear();d[a]!==e&&c&&c()};Ez=function(a,b){b=Cz(b);return"0"==b[a]||"X"==b[a]};Fz=function(a){a=Az(a.g_user_cookie_policy);if(!a||a.Fe&&!_.Dy)a=null;else{var b=["G_AUTHUSER_",_.Dy&&a.Fe?"S":"H",a.Ah].join(""),c=_.Jy[b];c||(c=new _.Ey(b,_.Ny(a)),_.Jy[b]=c);a=c}_.He("googleapis.config/sessionIndex",null);a.clear()};Gz=function(a){return bz(function(b){return a[b]})}; Hz=0;Iz=!1;Jz=[];Kz={};Lz={};Mz=null;Nz=function(a){var b=_.Uy;return function(c){if(this.f==b&&this.t==_.Lf.getAuthToken(this.f)&&this.origin==_.Lf.getTargetOrigin(this.f))return a.apply(this,arguments)}};Oz=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};Pz=function(a){if(_.Vy&&a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("ra");}; Qz=function(a){var b=_.Oe.getUrlParameters,c=b(a).jsh;if(null!=c)return Pz(c),a;if(b=String(b().jsh||_.ze.h||""))Pz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};Rz=function(){return!!_.S("oauth-flow/usegapi")};Sz=function(a,b){Rz()?Mz.unregister(a):_.Lf.unregister(a+":"+b)};Tz=function(a,b,c){Rz()?Mz.register(a,c,_.Bm):_.Lf.register(a+":"+b,Nz(c))};Uz=function(){dz.parentNode.removeChild(dz)}; Vz=function(a){var b=dz;_.Sy(b,[{uw:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Sy(b,[{uw:"transform",duration:1,timing:"ease",delay:0}]);_.Kx(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Wz=function(){var a=ez+88;Vz(a);ez=a};Xz=function(){var a=ez-88;Vz(a);ez=a}; Yz=function(a){var b=a?Wz:Xz,c=a?Xz:Wz;a=a?"-":"";ez=parseInt(a+88,10);dz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";dz.style.transform="translate3d(0px,"+a+88+"px,0px)";dz.style.display="";dz.style.visibility="visible";b();_.Kx(c,4E3);_.Kx(Uz,5E3)}; Zz=function(a){var b=_.S("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");dz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.vr(c,"visibility","hidden");_.vr(c,b,"-40px");_.vr(c,"height","128px");var d=c;if("desktop"==_.S("deviceType")){d=document.createElement("div");d.style.cssText="float:left;position:relative;left:50%;";c.appendChild(d);var e=document.createElement("div");e.style.cssText="float:left;position:relative;left:-50%";d.appendChild(e); d=e}e="top"==b?"-":"";ez=parseInt(e+88,10);dz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";dz.style.transform="translate3d(0px,"+e+88+"px,0px)";e=window;try{for(;e.parent!=e&&e.parent.document;)e=e.parent}catch(f){}e=e.document.body;try{e.insertBefore(c,e.firstChild)}catch(f){}_.Wl.Wh({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?Yz(!0):Yz(!1)}})}; $z=function(a){var b=_.on(),c=b&&b.scope;b=a&&a.scope;b="string"===typeof b?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;dc-Hz)return;var d=_.Lf.getAuthToken(a);d&&(Sz("oauth2relayReady",d),Sz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Wy();a=_.Uy}Hz=c;var e=String(2147483647*(0,_.vg)()|0);b=_.S("oauth-flow/proxyUrl")||_.S("oauth-flow/relayUrl");Rz()?Mz=_.Wl.Wh({where:_.Oe.getBodyElement(),url:b,id:a,attributes:{style:{width:"1px", height:"1px",position:"absolute",top:"-100px",display:"none"},"aria-hidden":"true"},dontclear:!0}):(b=[b,"?parent=",encodeURIComponent(_.qg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Oe.getBodyElement(),d=_.Oe.createIframeElement({name:a,id:a}),d.src=Qz(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,Oz(d),c.appendChild(d),_.Lf.setupReceiver(a));Tz("oauth2relayReady",e,function(){Sz("oauth2relayReady",e); var f=Jz;if(null!==f){Jz=null;for(var g=0,k=f.length;g